package top.codingfly.model.resp.common;

import java.util.ArrayList;
import java.util.List;

public class PageResp<T> {
    public Long total;
    public Integer pageIndex;
    public Integer pageSize;
    public List<T> list = new ArrayList();
    public PageResp() { }
    public Long getTotal() {
        return total;
    }
    public void setTotal(Long total) {
        this.total = total;
    }
    public Integer getPageIndex() {
        return pageIndex;
    }
    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }
    public Integer getPageSize() {
        return pageSize;
    }
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    public List<T> getList() {
        return list;
    }
    public void setList(List<T> list) {
        this.list = list;
    }
}